#ifndef UART_RECVDATA_H
#define UART_RECVDATA_H

#include <QObject>
#include <QSerialPort>
#include "global_values.h"
#include "highpassfilter_cofficient.h"
#include "fir_highpassfilter.h"
#include "trapfilter_cofficient.h"
#include "fir_trapfilter.h"
#include "bandpassfilter_cofficient.h"
#include "fir_bandpassfilter.h"
#include "lowpassfilter_cofficient.h"
#include "fir_lowpassfilter.h"

namespace Ui { class Widget; }
class Uart_RecvData : public QObject
{
    Q_OBJECT
public:
    explicit Uart_RecvData(QObject *parent=nullptr, QSerialPort *S=nullptr);

private:
    Ui::Widget *ui;
    QSerialPort *Uart;//QSerialPort 提供访问串行端口的功能。

private slots:
    void UartRecvData();


};

#endif // UART_RECVDATA_H
